<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width,initial-scale=1.0">
  <meta http-equiv=X-UA-Compatible content="IE=EmulateIE11">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>机关教辅单位作风评价系统</title>
  <link type="favicon" rel="shortcut icon" href="./static/favicon.ico" />
</head>

<body>
  <div id="app">

  </div>
  <!-- built files will be auto injected -->


  <!-- [if lt IE 9]>    -->

  <script>
    function myBrowser() {
      var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
      var isOpera = userAgent.indexOf("Opera") > -1; //判断是否Opera浏览器
      var isIE = userAgent.indexOf("compatible") > -1 && userAgent.indexOf("MSIE") > -1 && !isOpera; //判断是否IE浏览器
      var isFF = userAgent.indexOf("Firefox") > -1; //判断是否Firefox浏览器
      var isSafari = userAgent.indexOf("Safari") > -1; //判断是否Safari浏览器
      if (isIE) {
        var IE5 = IE55 = IE6 = IE7 = IE8 = false;
        var reIE = new RegExp("MSIE (\\d+\\.\\d+);");
        reIE.test(userAgent);
        var fIEVersion = parseFloat(RegExp["$1"]);
        IE55 = fIEVersion == 5.5;
        IE6 = fIEVersion == 6.0;
        IE7 = fIEVersion == 7.0;
        IE8 = fIEVersion == 8.0;
        if (IE55) {
          return "IE55";
        }
        if (IE6) {
          return "IE6";
        }
        if (IE7) {
          return "IE7";
        }
        if (IE8) {
          return "IE8";
        }
      }//isIE end
      if (isFF) {
        return "FF";
      }
      if (isOpera) {
        return "Opera";
      }
    }//myBrowser() end
    //以下是调用上面的函数
    if (myBrowser() == "FF") {
      // alert("我是 Firefox");
    }
    if (myBrowser() == "Opera") {
      // alert("我是 Opera");
    }
    if (myBrowser() == "Safari") {
      // alert("我是 Safari");
    }
    if (myBrowser() == "IE55") {
      // alert("我是 IE5.5");
      showActivity()
    }
    if (myBrowser() == "IE6") {
      // alert("我是 请输入代码IE6");
      showActivity()
    }
    if (myBrowser() == "IE7") {
      // alert("我是 IE7");
      showActivity()
    }
    if (myBrowser() == "IE8") {
      // alert("我是 IE8");
      showActivity()
    }
    // 显示内容
   function showActivity() {
        document.write("<div style='margin:150px auto; width: 1130px; height: 60%;padding-top: 150px;padding-left: 90px;background-color: #fff'>"
        + "<p><span style='font-size: 24px; text-align: center'>评价系统目前不支持IE9以下的浏览器,请下载IE9及以上版本或者使用其他的浏览器打开！</span><br><br>"
        + "<span style='font-size: 22px;line-height:34px;margin-left:30px;'>360浏览器推荐下载地址：<a style='color: #343434; text-decoration: underline' href='http://se.360.cn/index_main.html'>http://se.360.cn/index_main.html (推荐)</a></span><br>"
        + "<span style='font-size: 22px;line-height:34px;margin-left:30px;'>谷歌浏览器推荐下载地址:<a style='color: #343434; text-decoration: underline' href='http://download.zol.com.cn/detail/33/327560.shtml'>http://download.zol.com.cn/detail/33/327560.shtml</a></span><br>"
        + "<span style='font-size: 22px;line-height:34px;margin-left:30px;'>火狐浏览器推荐下载地址:<a style='color: #343434; text-decoration: underline' href='http://www.firefox.com.cn/'>http://www.firefox.com.cn</a></span><br>"
        + "<span style='font-size: 22px;line-height:34px;margin-left:30px;'>IE11浏览器推荐下载地址:<a style='color: #343434; text-decoration: underline' href='http://download.zol.com.cn/detail/44/432563.shtml'>http://download.zol.com.cn/detail/44/432563.shtml</a></span><br>"
        + "</p></div>")
    }
    // if (navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion.split(";")[1].replace(/[ ]/g, "").replace("MSIE", "")) < 10) {
    //   console.log("浏览器版本", navigator.appName);

    //     document.write("<div style='margin:150px auto; width: 1130px; height: 60%;padding-top: 150px;padding-left: 90px;background-color: #fff'>"
    //     + "<p><span style='font-size: 26px; text-align: center'>您的IE浏览器版本过低，请下载IE9及以上版本或者使用其他的浏览器打开！</span><br><br>"
    //     + "<span style='font-size: 22px;line-height:34px;margin-left:30px;'>360浏览器推荐下载地址：<a style='color: #343434; text-decoration: underline' href='http://se.360.cn/index_main.html'>http://se.360.cn/index_main.html (推荐)</a></span><br>"
    //     + "<span style='font-size: 22px;line-height:34px;margin-left:30px;'>谷歌浏览器推荐下载地址:<a style='color: #343434; text-decoration: underline' href='http://download.zol.com.cn/detail/33/327560.shtml'>http://download.zol.com.cn/detail/33/327560.shtml</a></span><br>"
    //     + "<span style='font-size: 22px;line-height:34px;margin-left:30px;'>火狐浏览器推荐下载地址:<a style='color: #343434; text-decoration: underline' href='http://www.firefox.com.cn/'>http://www.firefox.com.cn</a></span><br>"
    //     + "<span style='font-size: 22px;line-height:34px;margin-left:30px;'>IE11浏览器推荐下载地址:<a style='color: #343434; text-decoration: underline' href='http://download.zol.com.cn/detail/44/432563.shtml'>http://download.zol.com.cn/detail/44/432563.shtml</a></span><br>"
    //     + "</p></div>")
    // }
  </script>
  <!--   <![endif]  -->
</body>

</html>